html,body{
    font-size: 20px;
    padding: 0;
    margin: 0;
}
ul,li{
    list-style: none;
    padding: 0;
    margin: 0;
}
header{
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    justify-content: space-between;
    align-items: center;
    height: 2.334rem;
    background-color: #f2f2f2;
    .logo{
        img{
            width: 1.334rem;
            height: .877rem;
            margin: 0 .734rem;
            display: block;
        }
    }
    .user{
        .user-p{
            width: 1rem;
            height: 1rem;
            margin: 0 .9rem;
            background: url(../img/user.png) no-repeat center;
            background-size: 1rem;
        }
    }
    .search-box{
        display: flex;
        align-items: center;
        width: 100%;
        height: 1.6625rem;
        border: 1px solid #e5e5e5;
        background-color: #fff;
        border-radius: 2px;
        .search-p{
            width: 1.5rem;
            height: 1.5rem;
            margin: 0;
            background: url(../img/search.png) no-repeat center;
            background-size: 1rem;
        }
        .search{
            margin: 0;
            height: 100%;
            color: rgba(0,0,0,.3);
            background-color: #fff;
            font-size: .83335rem;
            line-height: 1.6625rem;
        }
    }
}
.nav{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background-color: #f2f2f2;
    text-align: center;
    font-size: 0;
    height: 1.6345rem;
    margin-top: 2.334rem;
   .inner-nav{
    position: relative;
    .nav-item{
        display: inline-block;
        padding: 0 .65rem;
        span{
            line-height: 1.5rem;
            font-size: .68rem;
            color: #747474;
        }
        &:nth-child(5){
            padding-right: 2rem;
        }
    }
    .nav-display{
        position: absolute;
        top: 0;
        right: 0;
        width:1.75rem ;
        height: 1.4rem;
        z-index: 99;
        p{
            background: url(../img/row.png) no-repeat;
            background-size: cover;
            width: 1rem;
            height: 1rem;
            margin: .2rem 0;
        }
    }
   }
}
.content{
    margin: 3.9685rem  auto  2.5rem;
    max-width: 720px !important;
    position: relative;
    .swiper{
        width: 100%;
        height: 10rem;
        overflow: hidden;;
        margin-top:3.6875rem;
        position: relative;
        #item{
            position: absolute;
            left: 0;
            list-style: none;
            display: flex;
            li{
                img{
                    width:20rem ;
                    height: 10rem;
                }
            }
        }
        #circle{
            width: 100%;
            position: absolute;
            bottom:.5rem;
            left: 0;
            z-index: 10;
            display: flex;
            justify-content: center;
            li{
                // width: 100%;
                width: .4rem;
                height:.4rem;
                margin: 0 .25rem;
                border-radius: 50%;
                background-color:#000;
                opacity: .2;
                &:hover{
                    background-color: #fff;
                }
            }
        }
    }
    .line{
        width: 100%;
        height: .45rem;
        background-color: #fff;
    }
    .mid-sort{
        display: flex;
        flex-wrap: wrap;
        background-color: #fff;
        width: 100%;
        .item{
            display: block;
            width: 20%;
            height: 4.222rem;
            img{
                width: 100%;
                height: 100%;
            }
        }
    }
    .title-p{
        height: 2.9rem;
        a{
            display: block;
            img{
                display: block;
                width: 100%;
                height: 2.9rem;
            }
        }
    }
    .goods{
        display: flex;
        justify-content: space-between;
        padding: 0 .4165rem;
        // padding: 0 .4rem;
       .goods-item{
           text-align:center;
           width: 5.75rem;
           background-color: #fff;
           border-radius:.15rem;
           overflow: hidden;
           text-decoration: none;
           &:nth-child(2){
               margin: 0 .3rem;
           }
            .img{
                position: relative;
               img{
                width: 5.75rem;
                height: 5.75rem;
               }
               .tag{
                   position: absolute;
                   right: 0;
                   bottom: 0;
                   z-index: 10;
                   width: 2.5rem;
                   height: 2.5rem;
                   border-radius: 50%;
                   overflow: hidden;
                   img{
                       width: 90%;
                       height: 90%;
                   }
               }
            }
            .des{
                padding: .5rem .25rem;
                text-align: center;
                .name{
                    font-size: .625rem;
                    color: #3c3c3c;
                    padding: 0 .3rem;
                    margin: 0;
                    font-weight: bolder;
                    white-space: nowrap;
                    overflow: hidden;
                    text-overflow: ellipsis;
                }
                .brief{
                    font-size: .6rem;
                    margin:.15rem 0 0 0;
                    white-space: nowrap;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    color: #3c3c3c;
                }
                .price{
                    margin: .2rem 0 0;
                    color: #f54b4b;
                    font-size: .725rem;
                    font-weight: 700;
                    span{
                        color: rgba(0,0,0,.54);
                        font-size: .6rem;
                        text-decoration: line-through;
                        margin-left: .2rem;
                    }
                }
            }
       }
    }
    .bottom-p{
        a{
            display: block;
            width: 100%;
            img{
                width: 100%;
                height:7.29rem;
            }
        }
    }
}
footer{
    position: fixed;
    bottom: 0;
    left: 0;
    right:0;
    z-index: 999;
    width: 100%;
    height:2.6rem;
    background-color: #fff;
    box-shadow: 0 3px 14px 2px rgba(0 ,0 ,0 ,12%);
    .bt-nav{
        display: flex;
        align-items: center;
        height: 2.5rem;
        .bt-nav-item{
            display: block;
            width: 20%;
            font-size: 0;
            text-align: center;
            text-decoration: none;
           img{
            // display: block;
            margin: 0 1.25rem .25rem;
            width: 1.1rem;
            height:1.1rem;
           }
           p{
               color: #999999;
               margin: 0;
               font-size: .6rem;
           }
        }
    }
}
.bg{
    background-color: #eff1f3 !important;
}
.height{
    height: 2.05rem !important;
}
.btfloat{
    width: 100%;
    position:fixed;
    z-index: 10000;
    bottom: 3rem;
    text-align: center;
    a{
        img{
            width:6.9rem;
            height: 1.9rem;
        }
    }
}